﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Journal.net
{
    public partial class CategoryForm : Form
    {
        public CategoryForm()
        {
            InitializeComponent();
        }

        private string categoryName;


        public string CategoryName
        {
            get { return categoryName; }
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            categoryName = CategorytextBox.Text;
                      
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
